/**
 * 
 */
package com.bbva.gptf.back.transformador;

import org.springframework.core.convert.converter.Converter;
import com.bbva.gptf.back.dominio.Tgpt025Instrumento;
import com.bbva.gptf.dto.bean.Instrumento;

/**
 * @author Edith Tamaya
 *
 */
public class TransformadorInstrumento implements
Converter<Tgpt025Instrumento, Instrumento>{
	
	@Override
	public Instrumento convert(Tgpt025Instrumento gd)  {
		Instrumento instrum = new Instrumento();
		instrum.setCdEmisora(gd.getId().getCdEmisora());
		instrum.setCdSerie(gd.getId().getCdSerie());		
		return instrum;
	}
}
